CC = /opt/buildroot-2012.08/arm920t/usr/bin/arm-linux-gcc

bins	= GPS
objs	= tty.o analysegps.o GpsMain.o 
srcs	= tty.c analysegps.c GpsMain.c

$(bins):	$(objs)
	$(CC) -o GPS $(objs) 
GpsMain.o:	$(srcs) gps.h
	$(CC) -c $(srcs) 
tty.o:			tty.c
	$(CC) -c tty.c
analysegps.o:	 analysegps.c gps.h
	$(CC) -c analysegps.c 


.PHONY: clean

clean:
		rm *.o 
